package com.yuerlive.rainbow.module.main.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.BaseData;
import com.yuerlive.rainbow.entity.SignInfo;
import com.yuerlive.rainbow.entity.VersionInfo;

/**
 * Created by xiaoyi on 2017/6/6.
 */

public interface MainContract {
    interface Presenter extends BasePresenter {
        void checkVersion();
        void getSignData();
        void signRequest();
    }

    interface View extends BaseView<Presenter> {
        void checkVersionReult(VersionInfo versionInfo);
        void showSignResult(SignInfo info);
        void signRequstResult(int code);
    }
}
